package com.itshen.one.controller;

import com.itshen.common.annotation.SystemLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: stephen.shen
 * @create: 2018-12-12 14:06
 */
@RestController
public class TestController {

    @SystemLog
    @GetMapping("/hello")
    public Object hello(@RequestParam String name){
        return "hello "+name;
    }

}
